public class Foo {
    <T> T foo() {
        <caret>
    }
}